﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace D20.Entities.Items.Weaponry
{
    /// <summary>
    /// A ranged weapon; anything from a throwing knife to a trebuchet.
    /// </summary>
    public class RangedWeapon<TAmmo>: Weapon   where TAmmo : Ammunition
    {
        /// <summary>
        /// Gets or sets the ammo.
        /// </summary>
        /// <value>The ammo.</value>
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public IList<TAmmo> Ammo { get; set; }
        /// <summary>
        /// Initializes a new instance of the <see cref="RangedWeapon&lt;TAmmo&gt;"/> class.
        /// </summary>
        public RangedWeapon()
        {
            
        }
    }
}
